/* Model Selector Styles */

.model-selector {
  position: relative;
}

.model-selector-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--vscode-foreground);
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.15s;
}

.model-selector-trigger:hover,
.model-selector-trigger.open {
  background: var(--vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31));
}

.model-icon {
  opacity: 0.7;
}

.model-text {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-arrow {
  opacity: 0.6;
  transition: transform 0.15s;
}

.model-selector-trigger.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.model-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  min-width: 200px;
  max-width: 300px;
  margin-bottom: 4px;
  background: var(--vscode-dropdown-background, var(--vscode-editor-background));
  border: 1px solid var(--vscode-dropdown-border, var(--vscode-panel-border));
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow: hidden;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: var(--vscode-foreground);
  cursor: pointer;
  font-size: 13px;
  text-align: left;
  transition: background-color 0.1s;
}

.dropdown-item:hover {
  background: var(--vscode-list-hoverBackground);
}

.dropdown-item.selected {
  background: var(--vscode-list-activeSelectionBackground);
  color: var(--vscode-list-activeSelectionForeground);
}

.dropdown-item.disabled {
  opacity: 0.5;
  cursor: default;
}

.dropdown-item.disabled:hover {
  background: transparent;
}

.config-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.check-icon {
  flex-shrink: 0;
  margin-left: 8px;
  color: var(--vscode-charts-green, #89d185);
}

.dropdown-separator {
  height: 1px;
  margin: 4px 0;
  background: var(--vscode-panel-border);
}

.configure-item {
  gap: 8px;
}

.settings-icon {
  flex-shrink: 0;
  opacity: 0.8;
}

